<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>我的二维码名片</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=yes" name="format-detection" />
    <link href="<%=basepath%>css/index.css" rel="stylesheet" type="text/css">
    <link href="<%=basepath%>css/join.css" rel="stylesheet" type="text/css">
    <script src="<%=basepath%>js/jquery-1.8.3.min.js"></script>
    <script src="<%=basepath%>js/layer/layer.js"></script>
</head>
<body>
<div class="viewport">
    <%@ include file='mine-header.html'%>
    <div class="content m-top">
        <div class="code-0"></div>
        <div class="code-1"><span>夜萧萧的二维码</span></div>
        <div class="code-2">
            <img src="<%=basepath%>images/a9.jpg">
        </div>
        <div class="code-3"><span>用手机农商易扫一扫二维码，加我为好友</span></div>
        <div class="code-4"><a href="javascript:void(0)" id="load">添加好友</a></div>
    </div>
</div>
</body>
<script type="text/javascript">
    /*错误提示*/
    $(function(){
        var error = "${requestScope.returnMsg}";
        if(error != "" && error != "成功!"){
            layer.msg(error,{shadeClose:true,shade:0.1,time:2000});
        }
    });
    /*提示下载 */
    $(function(){
	    $("#load").click(function(){
		    layer.msg("请下载农商易手机APP",{shadeClose:true,shade:0.1,time:2000});
	    });
    });
</script>
</html>
